﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A4B RID: 2635
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LILBCAMGBKF : IMessage<LILBCAMGBKF>, IMessage, IEquatable<LILBCAMGBKF>, IDeepCloneable<LILBCAMGBKF>, IBufferMessage
	{
		// Token: 0x17002146 RID: 8518
		// (get) Token: 0x0600760B RID: 30219 RVA: 0x0013AFC4 File Offset: 0x001391C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LILBCAMGBKF> Parser
		{
			get
			{
				return LILBCAMGBKF._parser;
			}
		}

		// Token: 0x17002147 RID: 8519
		// (get) Token: 0x0600760C RID: 30220 RVA: 0x0013AFCB File Offset: 0x001391CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LILBCAMGBKFReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002148 RID: 8520
		// (get) Token: 0x0600760D RID: 30221 RVA: 0x0013AFDD File Offset: 0x001391DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LILBCAMGBKF.Descriptor;
			}
		}

		// Token: 0x0600760E RID: 30222 RVA: 0x0013AFE4 File Offset: 0x001391E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LILBCAMGBKF()
		{
		}

		// Token: 0x0600760F RID: 30223 RVA: 0x0013AFF8 File Offset: 0x001391F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LILBCAMGBKF(LILBCAMGBKF other) : this()
		{
			this.dGEOCNCBNCP_ = ((other.dGEOCNCBNCP_ != null) ? other.dGEOCNCBNCP_.Clone() : null);
			this.freeReforgeNum_ = other.freeReforgeNum_;
			this.pOLMMPOGDHN_ = other.pOLMMPOGDHN_.Clone();
			this.intReforgeNumValue_ = other.intReforgeNumValue_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007610 RID: 30224 RVA: 0x0013B061 File Offset: 0x00139261
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LILBCAMGBKF Clone()
		{
			return new LILBCAMGBKF(this);
		}

		// Token: 0x17002149 RID: 8521
		// (get) Token: 0x06007611 RID: 30225 RVA: 0x0013B069 File Offset: 0x00139269
		// (set) Token: 0x06007612 RID: 30226 RVA: 0x0013B071 File Offset: 0x00139271
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemCostData DGEOCNCBNCP
		{
			get
			{
				return this.dGEOCNCBNCP_;
			}
			set
			{
				this.dGEOCNCBNCP_ = value;
			}
		}

		// Token: 0x1700214A RID: 8522
		// (get) Token: 0x06007613 RID: 30227 RVA: 0x0013B07A File Offset: 0x0013927A
		// (set) Token: 0x06007614 RID: 30228 RVA: 0x0013B082 File Offset: 0x00139282
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FreeReforgeNum
		{
			get
			{
				return this.freeReforgeNum_;
			}
			set
			{
				this.freeReforgeNum_ = value;
			}
		}

		// Token: 0x1700214B RID: 8523
		// (get) Token: 0x06007615 RID: 30229 RVA: 0x0013B08B File Offset: 0x0013928B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MapField<uint, ItemCostData> POLMMPOGDHN
		{
			get
			{
				return this.pOLMMPOGDHN_;
			}
		}

		// Token: 0x1700214C RID: 8524
		// (get) Token: 0x06007616 RID: 30230 RVA: 0x0013B093 File Offset: 0x00139293
		// (set) Token: 0x06007617 RID: 30231 RVA: 0x0013B09B File Offset: 0x0013929B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int IntReforgeNumValue
		{
			get
			{
				return this.intReforgeNumValue_;
			}
			set
			{
				this.intReforgeNumValue_ = value;
			}
		}

		// Token: 0x06007618 RID: 30232 RVA: 0x0013B0A4 File Offset: 0x001392A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LILBCAMGBKF);
		}

		// Token: 0x06007619 RID: 30233 RVA: 0x0013B0B4 File Offset: 0x001392B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LILBCAMGBKF other)
		{
			return other != null && (other == this || (object.Equals(this.DGEOCNCBNCP, other.DGEOCNCBNCP) && this.FreeReforgeNum == other.FreeReforgeNum && this.POLMMPOGDHN.Equals(other.POLMMPOGDHN) && this.IntReforgeNumValue == other.IntReforgeNumValue && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600761A RID: 30234 RVA: 0x0013B128 File Offset: 0x00139328
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.dGEOCNCBNCP_ != null)
			{
				num ^= this.DGEOCNCBNCP.GetHashCode();
			}
			if (this.FreeReforgeNum != 0U)
			{
				num ^= this.FreeReforgeNum.GetHashCode();
			}
			num ^= this.POLMMPOGDHN.GetHashCode();
			if (this.IntReforgeNumValue != 0)
			{
				num ^= this.IntReforgeNumValue.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600761B RID: 30235 RVA: 0x0013B1A4 File Offset: 0x001393A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600761C RID: 30236 RVA: 0x0013B1AC File Offset: 0x001393AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600761D RID: 30237 RVA: 0x0013B1B8 File Offset: 0x001393B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.pOLMMPOGDHN_.WriteTo(ref output, LILBCAMGBKF._map_pOLMMPOGDHN_codec);
			if (this.dGEOCNCBNCP_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.DGEOCNCBNCP);
			}
			if (this.FreeReforgeNum != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.FreeReforgeNum);
			}
			if (this.IntReforgeNumValue != 0)
			{
				output.WriteRawTag(120);
				output.WriteInt32(this.IntReforgeNumValue);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600761E RID: 30238 RVA: 0x0013B240 File Offset: 0x00139440
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.dGEOCNCBNCP_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.DGEOCNCBNCP);
			}
			if (this.FreeReforgeNum != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FreeReforgeNum);
			}
			num += this.pOLMMPOGDHN_.CalculateSize(LILBCAMGBKF._map_pOLMMPOGDHN_codec);
			if (this.IntReforgeNumValue != 0)
			{
				num += 1 + CodedOutputStream.ComputeInt32Size(this.IntReforgeNumValue);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600761F RID: 30239 RVA: 0x0013B2C4 File Offset: 0x001394C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LILBCAMGBKF other)
		{
			if (other == null)
			{
				return;
			}
			if (other.dGEOCNCBNCP_ != null)
			{
				if (this.dGEOCNCBNCP_ == null)
				{
					this.DGEOCNCBNCP = new ItemCostData();
				}
				this.DGEOCNCBNCP.MergeFrom(other.DGEOCNCBNCP);
			}
			if (other.FreeReforgeNum != 0U)
			{
				this.FreeReforgeNum = other.FreeReforgeNum;
			}
			this.pOLMMPOGDHN_.MergeFrom(other.pOLMMPOGDHN_);
			if (other.IntReforgeNumValue != 0)
			{
				this.IntReforgeNumValue = other.IntReforgeNumValue;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007620 RID: 30240 RVA: 0x0013B351 File Offset: 0x00139551
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007621 RID: 30241 RVA: 0x0013B35C File Offset: 0x0013955C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 74U)
				{
					if (num == 10U)
					{
						this.pOLMMPOGDHN_.AddEntriesFrom(ref input, LILBCAMGBKF._map_pOLMMPOGDHN_codec);
						continue;
					}
					if (num == 74U)
					{
						if (this.dGEOCNCBNCP_ == null)
						{
							this.DGEOCNCBNCP = new ItemCostData();
						}
						input.ReadMessage(this.DGEOCNCBNCP);
						continue;
					}
				}
				else
				{
					if (num == 80U)
					{
						this.FreeReforgeNum = input.ReadUInt32();
						continue;
					}
					if (num == 120U)
					{
						this.IntReforgeNumValue = input.ReadInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002CFD RID: 11517
		private static readonly MessageParser<LILBCAMGBKF> _parser = new MessageParser<LILBCAMGBKF>(() => new LILBCAMGBKF());

		// Token: 0x04002CFE RID: 11518
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002CFF RID: 11519
		public const int DGEOCNCBNCPFieldNumber = 9;

		// Token: 0x04002D00 RID: 11520
		private ItemCostData dGEOCNCBNCP_;

		// Token: 0x04002D01 RID: 11521
		public const int FreeReforgeNumFieldNumber = 10;

		// Token: 0x04002D02 RID: 11522
		private uint freeReforgeNum_;

		// Token: 0x04002D03 RID: 11523
		public const int POLMMPOGDHNFieldNumber = 1;

		// Token: 0x04002D04 RID: 11524
		private static readonly MapField<uint, ItemCostData>.Codec _map_pOLMMPOGDHN_codec = new MapField<uint, ItemCostData>.Codec(FieldCodec.ForUInt32(8U, 0U), FieldCodec.ForMessage<ItemCostData>(18U, ItemCostData.Parser), 10U);

		// Token: 0x04002D05 RID: 11525
		private readonly MapField<uint, ItemCostData> pOLMMPOGDHN_ = new MapField<uint, ItemCostData>();

		// Token: 0x04002D06 RID: 11526
		public const int IntReforgeNumValueFieldNumber = 15;

		// Token: 0x04002D07 RID: 11527
		private int intReforgeNumValue_;
	}
}
